import BasicLayout from '@/layouts/basic-layout';

const meta = {
    auth: true
};

const pre = 'api-';

export default {
    path: '/api',
    name: 'api',
    redirect: {
        name: `${pre}poolInterface`
    },
    meta,
    component: BasicLayout,
    children: [
        {
            path: 'poolInterface',
            name: `${pre}poolInterface`,
            meta: {
                ...meta,
                title: '资源池接口',
            },
            component: () => import('@/pages/api/poolInterface')
        }
    ]
};
